import{point}from'./javaclass.js'
class circle{
    radius=0
    circle_heart=null

    constructor(circle_heart,radius){
    this.radius=radius
    this.circle_heart=circle_heart

}ispointincircle(point){
    let distance=this.circle_heart.get_distance(point)
    return distance<=this.radius
}
}
let point3=new point(0,0)
    let c1=new circle(point3,2)
    console.log(c1);


    let point4=new point(1,1)
    let result=c1.ispointincircle(point4)
    console.log(result)